<template>
  <div>
    <div style="text-align:left;">
      <router-link to="/">返回</router-link>
    </div>
    <el-collapse style="margin-top:10px">
      <el-collapse-item
        title="包车费维护"
        name="1"
      >
        <bc-maintain-vue></bc-maintain-vue>
      </el-collapse-item>
      <el-collapse-item
        title="配送单价维护"
        name="2"
      >
        <ps-maintain-vue></ps-maintain-vue>
      </el-collapse-item>
      <el-collapse-item
        title="直送费维护"
        name="3"
      >
        <zs-maintain-vue></zs-maintain-vue>
      </el-collapse-item>
      <el-collapse-item
        title="木箱费维护"
        name="4"
      >
        <box-maintain-vue></box-maintain-vue>
      </el-collapse-item>
    </el-collapse>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue';
import myAxios from '@/myAxios/myAxios';
import BcMaintainVue from '@/components/BcMaintain.vue';
import PsMaintainVue from '@/components/PsMaintain.vue';
import ZsMaintainVue from '@/components/ZsMaintain.vue';
import BoxMaintainVue from '@/components/BoxMaintain.vue';

export default {
  name: 'HomeView',
  components: {
    BcMaintainVue,
    PsMaintainVue,
    ZsMaintainVue,
    BoxMaintainVue
  },
  setup () {
    let btnClick = function () {
      myAxios.get('林凯获取售后维修工序').then(res => {
        console.log('res :>> ', res);
      });


    };
    return { btnClick };
  }
}
</script>
